<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" />
</head>
<body>
<table class="layui-hide" id="supplierList" lay-filter="supplierFilter"></table>
<script type="text/html" id="toolbarDemo">
    <div class="layui-btn-container">
        <@shiro.hasAnyRoles name="admin,purchase">
            <a class="layui-btn layui-btn-normal addNews_btn" lay-event="addSupplier">
                <i class="layui-icon">&#xe608;</i>
                添加供应商
            </a>

            <a class="layui-btn layui-btn-normal  " lay-event="link">
                <i class="layui-icon">&#xe608;</i>
                联系人管理
            </a>
            <a class="layui-btn layui-btn-normal  " lay-event="materialList">
                <i class="layui-icon">&#xe608;</i>
                产品
            </a>
        </@shiro.hasAnyRoles>
    </div>
</script>

<!--操作-->
<script id="supplierListBar" type="text/html">
    <a class="layui-btn layui-btn-xs" id="edit" lay-event="edit">编辑</a>
<#--    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>-->
</script>
<script type="text/javascript" src="${ctx}/layuimini/js/supplier/supplier.js"></script>
</body>
</html>

